import { UserOutlined } from "@ant-design/icons-vue";

const getName = (icon) => {
  return icon && icon.displayName;
};

const roleMenus = [
  {
    label: "用户管理",
    path: "/user",
    icon: getName(UserOutlined),
  },
  {
    label: "消息接收",
    path: "/grpc",
    icon: getName(UserOutlined),
  },
];

export default roleMenus;
